Free online tool

Free Online Password Generator

Create random passwords, passphrases and PINs with full control, test a password you already use, see crack-time estimates and make up to 20 at once.

Password GeneratorFree online tool. Runs in your browser.
Live

Weak and reused passwords are one of the most common ways accounts get taken over. People choose names, dates and familiar words, and attackers try those first, in huge lists, at enormous speed. A random password has no pattern for them to find. This generator creates random passwords, passphrases and PINs using the secure random number generator built into your browser. They are made on your device, never sent to our servers and never saved. It also tests passwords you already have and estimates how long an attacker might need.

Three modes

Mode What it makes Best for
Password A random string of 8 to 128 characters Accounts managed by a password manager
Passphrase Three to ten random words with a separator Passwords you must type or remember
PIN Four to twelve digits, avoiding runs and repeats Phones, cards and devices that accept digits only

What you can control

In password mode you choose the length and which kinds of characters to include: upper case, lower case, numbers and symbols, with your own symbol set if a site accepts only some. You can skip look-alike characters such as 0 and O, skip symbols that cause trouble in forms, leave out characters you name, start with a letter, block repeated characters and require at least one of every selected type. In passphrase mode you pick the number of words, the separator, capital letters and an optional number. In PIN mode the tool avoids obvious sequences like 1234 and repeats like 1111.

How to use it

  1. Choose Password, Passphrase or PIN.
  2. Set the length with the slider and choose the options you need.
  3. Press the refresh button for a new result, and press Copy.
  4. Store it in a password manager and use it for one account only.
  5. For many at once, use bulk generation of up to 20, then copy them all or download a text file.

How strength is measured

Strength is counted in bits of entropy, which measures how many guesses an attacker would need. Each extra bit doubles the work. For a random password, the bits equal the length multiplied by the base 2 logarithm of the number of possible characters. The tool labels results as very weak under 40 bits, weak from 40, good from 60, strong from 80 and excellent from 100 bits.

Example Bits Offline guess estimate Online guess estimate
8 lower-case letters 37.6 about 10 seconds about 3 years
12 letters and digits 71.5 about 5 thousand years about 51 billion years
16 letters and digits 95.3 about 76 billion years trillions of years
Passphrase of 6 words 52.7 about 4 days about 113 thousand years
Passphrase of 8 words 70.2 about 2 thousand years about 22 billion years
6-digit PIN 19.9 instantly about 8 minutes

The estimates assume an offline attack at ten billion guesses a second, which applies when a stolen database is attacked on a powerful machine, and an online attack at one thousand a second, which is limited by the website. The tool uses half the search space as the average time. These are rough figures, and real attackers and defences vary.

Passphrases need enough words

The built-in word list has 439 common words, so each random word adds about 8.8 bits. Six words give roughly 53 bits and eight words about 70, which is good but not strong against a fast offline attack. For an important account protected only by a typed passphrase, use ten words, which reach about 88 bits, or add more length. The words are picked randomly, never from a phrase you chose, because a phrase from a song or a book is far weaker than random words.

The strength checker

Paste any password into the checker to see a checklist, a score and suggestions. It looks at length, a mix of character types, repeated characters, common passwords and keyboard runs. The check happens in your browser and nothing is sent anywhere, but you should still avoid pasting a live password into any page you do not trust; test a similar one instead.

Habits that matter more than the generator

  • Use a different password for every account, so one leak cannot open the others.
  • Keep passwords in a reputable password manager and protect it with a long passphrase.
  • Turn on two-step sign-in wherever it is offered, especially for email and banking.
  • Never share a password in a message or email.
  • Change a password immediately if a service reports a breach.

Limits

The generator cannot make a site store your password safely, and it cannot protect you from a fake login page or malware on your device. A strong password does not help if you type it into a phishing site. The session history in the tool lives only in memory and disappears when you close the page. Some sites limit length or symbols; use the options to match them, and prefer length over complexity when you can.

To test a password you already use, try the password strength checker. Turn a Wi-Fi password into a scannable code with the Wi-Fi QR code generator. The guide on how to create a strong password goes further, the guide to staying safe online covers the wider habits, and the cybersecurity course builds the full picture.

Key takeaways

  • Random passwords, passphrases and PINs are made on your device and never stored.
  • Strength is measured in bits, and each extra bit doubles an attacker’s work.
  • Eight random words give about 70 bits, so use ten for important accounts.
  • Unique passwords and two-step sign-in matter as much as strength.
  • Use a password manager instead of memorising many passwords.

Questions

Is it safe to use an online password generator?

It is safe when the password is created on your device and never sent anywhere. This generator uses your browser's secure random number source, makes everything locally and stores nothing. Still, use trustworthy tools only, copy the result straight into a password manager and do not paste it into messages.

Should I use a password or a passphrase?

Use a long random password when a password manager fills it in for you, because you never need to remember it. Use a passphrase of random words when you must type or remember it, such as for the manager itself. Make the passphrase long enough, about ten words for high security.

How are the crack times worked out?

The tool takes half of the total number of possible values as the average search, then divides by a guess speed. It uses ten billion guesses a second for an offline attack on a stolen database and one thousand a second for an online attack limited by a website. They are rough estimates.

Why do some characters get left out?

You can choose to skip look-alike characters such as 0 and O, symbols that cause trouble in forms, or any characters you name. Some websites reject certain symbols. Leaving characters out slightly reduces the number of possibilities, so make the password a little longer to keep the same strength.

Does the strength checker send my password anywhere?

No. The check runs in your browser and nothing is uploaded or stored. Even so, it is a good habit not to paste a live password into any page you cannot fully trust. If you want to be extra careful, test a similar password of the same length and style.